import myaxios from "../MyAxios";
import BASEURL from "../BaseUrl"

const TCHYURL = BASEURL.TCHYURL
const WaybillManagementApi = {

    getWaybillList(params){
        let url = TCHYURL + '/order/waybill/waybillList'
        return myaxios.get(url, params)
    },

    //详情
    getWaybillDetail(params){
        let url = TCHYURL + '/order/waybill/waybillDetail'
        return myaxios.get(url, params)
    },

    //审核
    auditWaybill(params){
        let url = TCHYURL + '/order/waybill/audit'
        return myaxios.put(url, params)
    },
    //文件转译
    compilation(params){
        let url = TCHYURL+'/file/getUrl'
        return myaxios.post(url, params)
    },
     //地址详情
     informationNode(params){
        let url = TCHYURL + '/order/waybill/informationNode'
        return myaxios.get(url, params)
    },
      //驳回
      abnormal(params){
        let url = TCHYURL + '/order/waybill/abnormal'
        return myaxios.post(url, params)
    },
    
}
export default WaybillManagementApi;
